<template>
  <a-modal
    width="600px"
    :footer="null"
    :maskClosable="false"
    :closable="false"
    :mask="false"
    v-model:open="modalShow"
    :wrap-style="{ overflow: 'hidden' }"
  >
    <template #title>
      <modalTitle @close="close" :title="'邻里互助详情'"></modalTitle>
    </template>
    <div style="padding: 0 10px 10px 10px">
      <div class="content">
        <div style="display: flex; align-items: center; flex-wrap: wrap; color: #eef9ff">
          <div style="display: flex; width: 50%; margin-bottom: 5px">
            <div style="width: 100px; font-size: 12px">序号</div>
            <div style="flex: 1; font-size: 12px">1</div>
          </div>
          <div style="display: flex; width: 50%; margin-bottom: 5px">
            <div style="width: 100px; font-size: 12px">发起人</div>
            <div style="flex: 1; font-size: 12px">张三</div>
          </div>
          <div style="display: flex; width: 50%; margin-bottom: 5px">
            <div style="width: 100px; font-size: 12px">联系电话</div>
            <div style="flex: 1; font-size: 12px">13125232523</div>
          </div>
          <div style="display: flex; width: 50%; margin-bottom: 5px">
            <div style="width: 100px; font-size: 12px">发布时间</div>
            <div style="flex: 1; font-size: 12px">2024/08/31 00:36</div>
          </div>
          <div style="display: flex; width: 50%; margin-bottom: 5px">
            <div style="width: 100px; font-size: 12px">类型</div>
            <div style="flex: 1; font-size: 12px">宠物互助</div>
          </div>
        </div>
        <div style="padding: 10px 0">
          <div style="font-size: 12px">本人因出差三天，这期间无法照顾宠物狗，本人狗狗是小型犬，现寻找有时间在家照顾的邻居。</div>
        </div>
        <div style="padding: 10px 0; display: flex; flex-wrap: wrap">
          <div
            style="
              width: 80px;
              height: 80px;
              background: #fff;
              background-size: 80px 80px;
              border-radius: 5px;
              margin: 0 5px 5px 0;
              background: url(&quot;/img/myimg/hz/t1.png&quot;);
            "
          ></div>
          <div
            style="
              width: 80px;
              height: 80px;
              background: #fff;
              background-size: 80px 80px;
              border-radius: 5px;
              margin: 0 5px 5px 0;
              background: url(&quot;/img/myimg/hz/t2.png&quot;);
            "
          ></div>
          <div
            style="
              width: 80px;
              height: 80px;
              background: #fff;
              background-size: 80px 80px;
              border-radius: 5px;
              margin: 0 5px 5px 0;
              background: url(&quot;/img/myimg/hz/t3.png&quot;);
            "
          ></div>
        </div>
      </div>
      <div style="display: flex; align-items: center; justify-content: center">
        <div class="btn" @click="qrxf">我来帮忙</div>
      </div>
    </div>
  </a-modal>
</template>
<script setup>
import { reactive, ref } from "vue"
import modalTitle from "../modalTitle.vue"
const emit = defineEmits(["qrxf"])
const qrxf = () => {
  emit("qrxf")
}
const modalShow = ref(false)

const close = () => {
  modalShow.value = false
}
const show = (e) => {
  modalShow.value = true
}
defineExpose({ show, close })
</script>
<style scoped>
.content {
  /* background: #4DDECF1A; */
  /* padding: 10px 16px; */
  /* border: 1px solid #4DDECF33; */
  /* border-radius: 10px; */
  color: #ffffff;
}
.btn {
  background: linear-gradient(180deg, rgba(0, 36, 42, 0.5) 0%, rgba(0, 67, 78, 0.5) 100%);
  border: 1px solid #57ffff;
  color: #ffffff;
  font-size: 10px;
  padding: 5px 20px;
  border-radius: 99px;
  cursor: pointer;
  margin-bottom: 10px;
}
</style>
